<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://java.sun.com/jsf/core">
<h:head>
	<h:body>
		<h:form>
			<h:panelGrid border="2" columns="2">
				<p:facet name="header">
					<h:outputText value="Enter your company information"></h:outputText>
				</p:facet>
				<h:outputLabel value="Company Name"></h:outputLabel>
				<h:inputText id="txtCompanyName" value="#{employerBean.name}"></h:inputText>
				<h:outputLabel value="Company Field"></h:outputLabel>
				<h:selectOneListbox id="lbField" value="#{employerBean.field}">
					<p:selectItem itemValue="Engineering"></p:selectItem>
					<p:selectItem itemValue="Accounting"></p:selectItem>
					<p:selectItem itemValue="Banking"></p:selectItem>
				</h:selectOneListbox>
				<h:outputLabel value="Address"></h:outputLabel>
				<h:inputText id="txtAddress" value="#{employerBean.address}"></h:inputText>
				<h:outputLabel value="E-mail"></h:outputLabel>
				<h:inputText value="#{employerBean.email}"></h:inputText>
				<h:outputLabel value="User Name"></h:outputLabel>
				<h:inputText value="#{employerBean.username}"></h:inputText>
				<h:outputLabel value="Password"></h:outputLabel>
				<h:inputText value="#{employerBean.password}"></h:inputText>
				<br> </br>
				<h:commandButton id="btnRegister" value="Register"
					action="#{employerBean.setNewEmployer}"></h:commandButton>
			</h:panelGrid>
		</h:form>
	</h:body>
</h:head>

</html>